package 实验2;
public class ClassResult{
	public static void main(String[] args) {
		Student student;
		Teacher teacher;
		Course course;
		Student stu1 = new Student(2020310813, "苏俊桐","大学物理");
		Teacher tea1= new Teacher(12345,"张三");
		Course cou1 = new Course(2202,"线性代数");
		System.out.println("学生:" + " " + stu1.getStuId() + "   " + stu1.getStuName() + "   "+stu1.getMajor());
		System.out.println("老师:" + " " + tea1.getId() + "   " + tea1.getTeacherName());
		System.out.println("课程:" + " " + "主楼" + cou1.getId() + "    " + cou1.getName());
		}
	}

